import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { FileUploadModule } from '../../../lib/ng2-file-upload';
import { PaginationModule, ModalModule, TabsModule } from 'ngx-bootstrap';
import { ActivityGoodsManagementComponent } from './activity-goods-management/activity-goods-management.component';
import { ActivityGoodsManagementGridComponent } from './activity-goods-management/activity-goods-management-grid/activity-goods-management-grid.component';
import { ActivityGoodsManagementModalComponent } from './activity-goods-management/activity-goods-management-modal/activity-goods-management-modal.component';
import { ActivityGoodsManagementAddModalComponent } from './activity-goods-management/activity-goods-management-add-modal/activity-goods-management-add-modal.component';
import { ClickOrderActivityManagementComponent } from './click-order-activity-management/click-order-activity-management.component';
import { ClickOrderActivityGridComponent } from './click-order-activity-management/click-order-activity-grid/click-order-activity-grid.component';
import { ClickOrderActivityAddComponent } from './click-order-activity-management/click-order-activity-add/click-order-activity-add.component';
import { ClickOrderActivityEditComponent } from './click-order-activity-management/click-order-activity-edit/click-order-activity-edit.component';
import { LeadDownloadActivityManagementComponent } from './lead-download-activity-management/lead-download-activity-management.component';
import { LeadDownloadActivityGridComponent } from './lead-download-activity-management/lead-download-activity-grid/lead-download-activity-grid.component';
import { LeadDownloadActivityAddComponent } from './lead-download-activity-management/lead-download-activity-add/lead-download-activity-add.component';
import { LeadDownloadActivityEditComponent } from './lead-download-activity-management/lead-download-activity-edit/lead-download-activity-edit.component';


@NgModule({
    imports: [
        CommonModule,
        BrowserModule,
        FormsModule,
        PaginationModule.forRoot(),
        ModalModule.forRoot(),
        TabsModule.forRoot(),
        FileUploadModule
    ],
    declarations: [
        ActivityGoodsManagementComponent,
        ActivityGoodsManagementGridComponent,
        ActivityGoodsManagementModalComponent,
        ActivityGoodsManagementAddModalComponent,
        ClickOrderActivityManagementComponent,
        ClickOrderActivityGridComponent,
        ClickOrderActivityAddComponent,
        ClickOrderActivityEditComponent,
        LeadDownloadActivityManagementComponent,
        LeadDownloadActivityGridComponent,
        LeadDownloadActivityAddComponent,
        LeadDownloadActivityEditComponent
    ],
    entryComponents: [
        ActivityGoodsManagementComponent,
        ActivityGoodsManagementModalComponent,
        ActivityGoodsManagementAddModalComponent,
        ClickOrderActivityManagementComponent,
        ClickOrderActivityAddComponent,
        ClickOrderActivityEditComponent,
        LeadDownloadActivityManagementComponent,
        LeadDownloadActivityAddComponent,
        LeadDownloadActivityEditComponent
    ]
})
export class CampaignManagementModule { }
